/**
 *  *2010-3-21 下午10:55:34  add 
 */
package com.base.myproject.client.system;

import com.google.gwt.resources.client.ImageResource;

/**
 * @see BaseResource
 * @author Administrator 2010-3-21 javazgw@gmail.com
 */
public class GetBaseResource {

	public static GetBaseResource gbr;

	private GetBaseResource() {

	}

	public static GetBaseResource getInstance() {
		if (gbr == null)
			gbr = new GetBaseResource();

		return gbr;
	}

	public ImageResource getImageResource(String name) {
		if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule2"))
			return BaseResource.INSTANCE.assess_rule2();
		else if (name.equals("assess_rule3"))
			return BaseResource.INSTANCE.assess_rule3();
		else if (name.equals("assess_rule4"))
			return BaseResource.INSTANCE.assess_rule4();
		else if (name.equals("assess_rule5"))
			return BaseResource.INSTANCE.assess_rule5();
		else if (name.equals("assess_rule6"))
			return BaseResource.INSTANCE.assess_rule6();
		else if (name.equals("assess_rule7"))
			return BaseResource.INSTANCE.assess_rule7();
		else if (name.equals("assess_rule8"))
			return BaseResource.INSTANCE.assess_rule8();
		else if (name.equals("assess_rule9"))
			return BaseResource.INSTANCE.assess_rule9();
		else if (name.equals("assess_rule10"))
			return BaseResource.INSTANCE.assess_rule10();
		else if (name.equals("assessment"))
			return BaseResource.INSTANCE.assessment();
		else if (name.equals("assessment1"))
			return BaseResource.INSTANCE.assessment1();
		else if (name.equals("outstore"))
			return BaseResource.INSTANCE.outstore();
		else if (name.equals("contract"))
			return BaseResource.INSTANCE.menu_contract();
		else if (name.equals("menu_stores"))
			return BaseResource.INSTANCE.menu_stores();
		else if (name.equals("menu_tool"))
			return BaseResource.INSTANCE.menu_tool();
		else if (name.equals("menu_about"))
			return BaseResource.INSTANCE.menu_about();
		else if (name.equals("menu_base"))
			return BaseResource.INSTANCE.menu_base();
		else if (name.equals("menu_Analysis2"))
			return BaseResource.INSTANCE.menu_Analysis2();
		else if (name.equals("menu_workbench"))
			return BaseResource.INSTANCE.menu_workbench();
		else if (name.equals("menu_shipping"))
			return BaseResource.INSTANCE.menu_shipping();
		else if (name.equals("menu_download"))
			return BaseResource.INSTANCE.menu_download();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if (name.equals("assess_rule1"))
			return BaseResource.INSTANCE.assess_rule1();
		else if(name.equals("employee"))
			return BaseResource.INSTANCE.people();
		else if(name.equals("menu_book"))
			return BaseResource.INSTANCE.menu_book();
		else if(name.equals("menu_training"))
			return BaseResource.INSTANCE.menu_training();
		else if(name.equals("menu_trade"))
			return BaseResource.INSTANCE.menu_trade();
		else if(name.equals("menu_setting"))
			return BaseResource.INSTANCE.menu_setting();
		else if(name.equals("menu_hummer"))
			return BaseResource.INSTANCE.menu_hammer();
		else if(name.equals("menu_money"))
			return BaseResource.INSTANCE.menu_money();
		else if(name.equals("menu_plugin"))
			return BaseResource.INSTANCE.menu_plugin();
		else if(name.equals("menu_online"))
			return BaseResource.INSTANCE.menu_online();
		else if(name.equals("menu_report"))
			return BaseResource.INSTANCE.menu_report();
		else if(name.equals("menu_box"))
			return BaseResource.INSTANCE.menu_box();
		else if(name.equals("menu_cake"))
			return BaseResource.INSTANCE.menu_cake();
		return BaseResource.INSTANCE.menu_base();
	}
}
